home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 May / PCWMAY06.iso / Software / Toolkit / Songbird 0.1 / Songbird_0_1_0.exe / chrome / content / mab.xul < prev    next >
Extensible Markup Language  |  2006-02-07  |  2KB  |  68 lines

  1. <?xml version="1.0"?>
  2. <!--
  3. /*
  4. //
  5. // BEGIN SONGBIRD GPL
  6. // 
  7. // This file is part of the Songbird web player.
  8. //
  9. // Copyright┬⌐ 2006 Pioneers of the Inevitable LLC
  10. // http://songbirdnest.com
  11. // 
  12. // This file may be licensed under the terms of of the
  13. // GNU General Public License Version 2 (the ΓÇ£GPLΓÇ¥).
  14. // 
  15. // Software distributed under the License is distributed 
  16. // on an ΓÇ£AS ISΓÇ¥ basis, WITHOUT WARRANTY OF ANY KIND, either 
  17. // express or implied. See the GPL for the specific language 
  18. // governing rights and limitations.
  19. //
  20. // You should have received a copy of the GPL along with this 
  21. // program. If not, go to http://www.gnu.org/licenses/gpl.html
  22. // or write to the Free Software Foundation, Inc., 
  23. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  24. // 
  25. // END SONGBIRD GPL
  26. //
  27.  */
  28. -->
  29. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  30. <?xml-stylesheet href="chrome://rmp_demo/skin" type="text/css"?>
  31. <!DOCTYPE window SYSTEM "chrome://rmp_demo/locale/rmp_demo.dtd" >
  32. <dialog 
  33.  xmlns:html="http://www.w3.org/1999/xhtml"
  34.  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  35.  id="mab"
  36.  title="Mozilla Amazon Browser"
  37.  buttons="cancel"
  38.  width="800"
  39.  height="600"
  40.  ondialogcancel="return doCancel();"
  41. >
  42.  
  43.   <!-- Astounding complexity! -->
  44.   <iframe src="http://www.faser.net/mab/chrome/content/mab.xul" flex="1"/>
  45.  
  46.   <!-- And intrepid instructions! -->  
  47.   <script>
  48.   <![CDATA[
  49.     function doOK()
  50.     {
  51.       if ( typeof( window.arguments[0] ) != 'undefined' )
  52.       {
  53.         window.arguments[0].retval = "ok";
  54.       }
  55.       return true;
  56.     }
  57.     function doCancel()
  58.     {
  59.       if ( typeof( window.arguments[0] ) != 'undefined' )
  60.       {
  61.         window.arguments[0].retval = "cancel";
  62.       }
  63.       return true;
  64.     }
  65.   ]]>
  66.   </script>
  67.   
  68. </dialog>